//
//  MyUI.h
//  叮咣
//
//  Created by Candice on 15/9/24.
//  Copyright (c) 2015年 Candice. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CommonCrypto/CommonDigest.h>
@interface MyUI : NSObject
//UIView
+(UIView *)creatViewWithFram:(CGRect)frame;

//UILable
+(UILabel *)creatLableWithFrame:(CGRect)frame  font:(CGFloat)font  Text:(NSString *)text;

//UIButton
+(UIButton *)creatButtonWithFrame:(CGRect)frame Title:(NSString *)title  bgNomalImageName:(NSString *)bgImageName Target:(id)target  Method:(SEL)method;

//UIImageView
+(UIImageView *)creatImageViewWithFrame:(CGRect)frame imageName:(NSString *)imageName;

//md5小写加密
+ (NSString *)md5HexDigest:(NSString*)input;

+ (NSString *)getCurrentDeviceModel;

+(UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
@end
